
local WorkStation = require'entities.workstation'

SpaceToilet = {}
SpaceToilet.mt = { __index = SpaceToilet }
setmetatable(SpaceToilet, WorkStation.mt)

function SpaceToilet.initialize(x, y, ship)


	local SPACETOILET_t = WorkStation.new('space_toilet', x, y, 100, 'space_toilet', ship)
	setmetatable(SPACETOILET_t, SpaceToilet.mt)


	SPACETOILET_t.x = x
	SPACETOILET_t.y = y

	return SPACETOILET_t

end

function SpaceToilet:make_map()

	self.map = {}
	
	self.map[WATER_PIPE_TYPE] = self.ship.network_map[WATER_PIPE_TYPE]
	self.map[WASTE_PIPE_TYPE] = self.ship.network_map[WASTE_PIPE_TYPE]

end


function SpaceToilet.new(x, y, ship)

	local o = SpaceToilet.initialize(x, y, ship)

	return o

end



return SpaceToilet